package com.speed_run.config;

public enum Api {
	 SERVRE_ERROR(500,"服务器内部错误"),
	 SUCCESS(200,"操作成功");
	 
	 private int code;
	 private String msg;
	 
	 Api(int code, String msg) {
	        this.code = code;
	        this.msg = msg;
	 }
	 public int code(){
		 return this.code;
	 }
	 
	 public String msg(){
		 return this.msg;
	 }
}
